.Net Framework > v2.0.50727 > System > Configuration > Install Install
Category
Namespace
Description
The System.Configuration.Install namespace provides classes that allow you to write custom installers for your own components. The System.Configuration.Install.Installer class is the base class for all custom installers in the.NET Framework.Through the System.Configuration.Install.Installer.Installers property, an installer contains a collection of other installers as children. As the installer is executed, it cycles through its children and calls System.Configuration.Install.Installer.Install, System.Configuration.Install.Installer.Commit, System.Configuration.Install.Installer.Rollback, or System.Configuration.Install.Installer.Uninstall. For an example of an object in the System.Configuration.Install.Installer.Installers collection, see System.Diagnostics.EventLogInstaller.The System.Configuration.Install.Installer.Context property contains information about the installation. For example, information about the location of the log file for the installation, the location of the file that saves information required by the System.Configuration.Install.Installer.Uninstall method, and the command line that was entered when the installation executable was run. For an example of an installation executable, see [].The System.Configuration.Install.Installer.Install, System.Configuration.Install.Installer.Commit, System.Configuration.Install.Installer.Rollback, and System.Configuration.Install.Installer.Uninstall methods are not always called on the same instance of System.Configuration.Install.Installer. For example, you might use an System.Configuration.Install.Installer to install and commit an application, and then release the reference to that System.Configuration.Install.Installer. Later, uninstalling the application creates a new reference to an System.Configuration.Install.Installer, which means that the System.Configuration.Install.Installer.Uninstall method is called on a different instance of System.Configuration.Install.Installer. For this reason, do not save the state of a computer in an installer. Instead, use an System.Collections.IDictionary that is preserved across calls and passed into the System.Configuration.Install.Installer.Install, System.Configuration.Install.Installer.Commit, System.Configuration.Install.Installer.Rollback, and System.Configuration.Install.Installer.Uninstall methods.
Classes
AssemblyInstaller
ComponentInstaller
InstallContext
Installer
InstallerCollection
InstallEventArgs
InstallException
ManagedInstallerClass
TransactedInstaller
Interfaces
IManagedInstaller
Delegates
InstallEventHandler
Enumerations
UninstallAction
Tags
01C215753B, 02E3ABA98D, 0376596F91
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database